package com.foreverwin.mes.production.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.production.model.MaterialRequisitionLog;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 * 领料记录 服务类
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-24
 */
public interface MaterialRequisitionLogService extends IService<MaterialRequisitionLog> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<MaterialRequisitionLog> selectPage(FrontPage<MaterialRequisitionLog> frontPage, MaterialRequisitionLog materialRequisitionLog);

    List<MaterialRequisitionLog> selectList(MaterialRequisitionLog materialRequisitionLog);

    boolean insertOrUpdate(List<MaterialRequisitionLog> materialRequisitionLogs);
}